package com.ambow.service.impl;

import java.util.List;

import com.ambow.Entity.DeliverToOther;
import com.ambow.Entity.Stock;
import com.ambow.Entity.TextBook;
import com.ambow.dao.DeliverToOtherDao;
import com.ambow.dao.impl.DeliverToOtherDaoImpl;
import com.ambow.service.DeliverToOtherService;

public class DeliverToOtherServiceImpl implements DeliverToOtherService{
	DeliverToOtherDao dao=new DeliverToOtherDaoImpl();
	@Override
	public boolean addDeliverToOther(DeliverToOther deliverToOther) {
		// TODO Auto-generated method stub
		return this.dao.addDeliverToOther(deliverToOther);
	}

	@Override
	public Stock querybook(String hql, String[] param) {
		// TODO Auto-generated method stub
		return this.dao.querybook(hql, param);
	}

	@Override
	public List<DeliverToOther> queryDeliverOtherbook(String hql, String[] param) {
		// TODO Auto-generated method stub
		return this.dao.queryDeliverOtherbook(hql, param);
	}

	@Override
	public boolean addStock(Stock stock) {
		// TODO Auto-generated method stub
		return this.dao.addSock(stock);
	}
}
